package com.hontlong.boy;

public class Boy implements Talk {

	protected String name = "小男孩";

	@Override
	public String name() {
		return this.name;
	}

	@Override
	public String talk() {
		return "你好";
	}

	/**
	 * 实现原理。把输入切词，然后检索语句库，返回得分最高者中随机的一句。
	 */
	@Override
	public String talk(final String talk) {
		return "你说的是：\"" + talk + "\"";
	}

}
